package Tests;

import org.junit.Test;

import EventHandling.AbstractEventHandler;

public class EventHandlerShould {

	@Test
	public void aCombatEventShouldBeHandledByTheCombatEventHandler() {	
		String anEvent = "[19:15:51] MadMicky's Scattershot hits (Normal) Balam Bloodletter for 486 physical damage. (Penetrated)";
		AbstractEventHandler.handle(anEvent);
	}
	
	@Test
	public void aHealEventShouldBeHandledByTheHealEventHandler() {
		String anEvent = "[19:16:27] Herne's Echoes heals you for 7.";
		AbstractEventHandler.handle(anEvent);
	}
	
	@Test
	public void aDeathEventShouldBeHandledByTheDeathEventHandler() {
		String anEvent = "[20:57:09] Ashata died.";
		AbstractEventHandler.handle(anEvent);
	}


}
